
import request from '@/utils/request'
export const randomImg = (key) => request.get(`/user/sys/randomImage/${key}`) // 获取图形验证码
export const loginSubmit = (data) => request.post("/user/sys/login", data)  //登录
export const loginout = () => request.post("/user/sys/logout") //退出登录
export const changePass = (data) => request.post(`/user/sys/modify-password`,data) //修改密码
export const forgetPass = data => request.post("/user/sys/forget-password",data) //忘记密码
export const getCode = data => request.post("/user/sys/sendSmsCode",data) //获取短信验证码
export const zhxyLogin = data => request.post("/user/weChat/yxy-loginWeb-userId",data)//云校园登陆
export const xcGetToken = data => request.post("/user/xinChanHttpProxy/get-token") //对接信产获取token
export const getUserXc = data => request.post("/user/xinChanHttpProxy/get-user-info",data) //获取用户信息
export const xcLogin = data => request.post("/user/xinChanLogin/xinChan-loginWeb-byUserName",data)  // 信产登录

